package com.kejizhentan.repository;

import com.kejizhentan.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author shikaifeng
 * @Date 2022/9/28 15:52
 * @Version 1.0
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department, String> {

    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);

}
